<?php
include("include/config.inc.php");
if(!isset($_SESSION['s_activId']))
{
  header("location:checklogin.php");
}

$deleteMoneyTrans = "DELETE FROM moneyTrans 
                   WHERE  moneyTransId = ".$_GET['moneyTransId'];
$deleteMoneyTransRes = mysql_query($deleteMoneyTrans);
if(!$deleteMoneyTransRes)
{
	echo("DELETE FAIL");
}
else
{
	header("Location:moneyTransaction.php");
}
?>